#pragma once

#define MAX_RESPONSE 1024

typedef enum {
    RESP_OK,
    RESP_ERROR,
    RESP_EXIST,
    RESP_NOEXIST,
    RESP_RETRY,
    // ...
} ResponseStatus;

typedef struct {
    int status;
    int length;
    char value[MAX_RESPONSE];
} Response;
